import axios from 'axios'
import request from '@/utils/request'
import {Notification} from 'element-ui'

export function getIcCardInfo(params) {
  return request({
    url: 'http://127.0.0.1:8091/api/iccard_read?type=r&icCard=',
    method: 'get',
    data: {
      type: 'r',
      icCard: ''
    }
  })
}

export function writeIcCardInfo(params) {
  return request({
    url: 'http://127.0.0.1:8091/api/iccard_read?type=w&icCard=' + params.icCard,
    method: 'get',
    data: JSON.stringify({})
  })
}
